package cn.gson.boot.model.mapper;

import cn.gson.boot.model.pojos.User;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    //模糊查询和分页查询
    public List<User> allusers(@Param("empName") String empName);

    //谭龙俊的周月排行按时间段查询
    public List<User> allshijian(@Param("Start") String Start,
                                 @Param("Over") String Over,
                                 @Param("empName") String empName,
                                 @Param("empId") int empId);

    //所有查询
    public List<User> quanbuchax();
}
